package com.classroompie.classroompieserver.service;

import com.classroompie.classroompiepojo.entity.TopicMessageModel;
import com.classroompie.classroompiepojo.entity.TopicModel;

import java.util.List;

/**
 * @author jiahao
 * @since 2024/6/28 周五
 */
public interface TopicService {
    void addTopic(String courseId,String title);

    List<TopicModel> getTopic(String courseId);

    void addMessage(String topicId, String message);

    List<TopicMessageModel> getMessage(String topicId);

    TopicModel getTopicDetail(String topicId);
}
